Rebecca Law
a860f713d2
Implementation of the new_password endpoint.
...
Found a way to create the token that does not need to persist it to the database.
This requires proper error messages, written by people who speak menglis good.
2016-01-11 12:23:07 +00:00
Rebecca Law
2cb896fa81
Completion of forgot-password endpoints.
...
Start implementation for new-password endpoints.
Created PasswordResetToken model
ToDo: create and save token, send valid url to user,
check validity of token, update user's password, redirect to /two-factor.
2016-01-11 12:23:07 +00:00
Rebecca Law
7478f8a0f3
Make Users.email_address unique
2015-12-17 14:57:26 +00:00
Rebecca Law
43f2605ac4
110067722: Post add-service endpoint saves the service and maps it to the user.
2015-12-15 10:32:26 +00:00
Rebecca Law
350ccda208
110067722: Added endpoints for add-service
...
Post is not complete as of yet.
2015-12-15 10:32:25 +00:00
Rebecca Law
4b01335703
110067722: Create the model and dao for services.
...
This commit creates the data model for services and user_to_service.
The dao is also created to insert, get, activate, and unrestrict the service.
2015-12-15 10:31:27 +00:00
Rebecca Law
6373455204
Update migration scripts to match the data model
2015-12-11 10:29:23 +00:00
Rebecca Law
b5c65525af
109526036: Migration script for new table
2015-12-10 15:13:13 +00:00
Rebecca Law
29c74b0da5
Add indexes to users.
2015-12-09 13:20:30 +00:00
Rebecca Law
27572ddb08
Add indexes for the users table
2015-12-09 13:20:00 +00:00
Rebecca Law
9c0a4529c1
Remove unique constraint on users.name
2015-12-09 13:13:48 +00:00
Rebecca Law
48b7a7dc37
108536490: Adding the login manager and csrf token.
...
Still need to figure out how to override the load_user method, currently it is not working.
2015-12-01 10:00:06 +00:00
Rebecca Law
7f96ef5a25
108536490: Initial effort to implement log in
...
Add endpoint for post to /sign-in
Initialise role data
2015-12-01 10:00:06 +00:00
Rebecca Law
d372ee4d83
fix name of migration file.
2015-11-27 09:57:55 +00:00
Rebecca Law
9e27ef964a
Make users.name unique.
2015-11-26 11:53:49 +00:00
Rebecca Law
abe1d8ae17
108536234: created users and roles data and domain model.
...
You will need to run the /scripts/bootstrap.sh to create the database for test and the app.
2015-11-25 15:29:12 +00:00