geekpgh / mastersproject

The masters project for SWENG 500 team 3
4 stars 2 forks source link

Can recover forgotten pasword #5

Closed gmblogref closed 11 years ago

gmblogref commented 11 years ago

Users that want to recover their password will need to click the recover password link. The user will need to provide their username. The system will then send an email to the email address associated to that user name with their password in it.

gmblogref commented 11 years ago

Got this to work in the test SRC.
Moving it over to the SRC2 first I get this: Unable to update database to match the current model because there are pending changes and automatic migration is disabled. Either write the pending model changes to a code-based migration or enable automatic migration. Set DbMigrationsConfiguration.AutomaticMigrationsEnabled to true to enable automatic migration

If I set AutomaticMigrationsEnabledto true I get this: There is already an object named 'webpages_Membership' in the database.

Trying to remember what I did differently in SRC VS. SRC2. I moved all the code over and didn't mess with the database context in SRC when I added the code.

gmblogref commented 11 years ago

Finished this when I found the answer to the error I was getting