Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Handling passwords

Hi I have an app that i am going to incorporate a password into (a simple four digit one) and I'm just wondering what i should do if the user forgets it (after ? incorrect efforts). I don't know any HTML in order to do an e-mail reset and also the app has no 'sign in' process, just a simple lock. Any help / other ideas are welcome, thanks, kieran

2 Answers

What's the app about and what does it contain.

  1. Only way is to delete the app and start from scratch.- Very secure app
  2. Store the users passcode in a database with their email and they can fill out a form with email and you send their password to them
  3. Don't use a password. An iPhone should have a passcode already so password in app should be unnecessary.

Thanks a lot for your answer Joakim Nereng Ellestad! I am going to try and add a recovery question to the app so i keep it all local to the device, I will bear what you said in mind about the passcode, i just think it would compliment the app well. Thanks! Kieran