22 Commits

Author SHA1 Message Date
James Ketrenos
9361471478 Add .id to user when passed to sendVerifyMail 2018-12-02 17:43:48 -08:00
859fb9d748 Restructure LDAP auth so it works with restricted albums
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2018-10-18 16:53:36 -07:00
814bac8b78 Applied DRY to authentication mail.
Added user.restriction to indicate if an account username/password is correct, but the account is under restriction for various reasons.

Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2018-10-17 22:53:39 -07:00
17678350fc Fix auth email sending
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2018-10-17 21:51:27 -07:00
James Ketrenos
2c28dde0bf Fix login via DB; user wasn't being passed down promise chain 2018-10-16 08:16:17 -07:00
734fc13967 Chain login to use getSessionUser to fill all the correct fields
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2018-10-11 20:38:19 -07:00
James Ketrenos
f780fc7c4d throw an error if invalid email address is provided
Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
2018-10-09 14:18:52 -07:00
James Ketrenos
d0ffda22b6 Added placeholder for utils/check 2018-10-08 10:56:14 -07:00
cb8437a55b Made verification email messages more friendly.
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2018-10-06 20:00:43 -07:00
064e228226 Started adding maintainer modes for managing duplicates, deletions, trash, etc.
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2018-10-06 16:00:02 -07:00
568db0ad54 Fix #5: Support LDAP and DB, and pull from DB every access instead of caching in 'sessions'
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2018-10-04 17:19:04 -07:00
0b12ac9d20 Added authentication/verification flow to account creation
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2018-10-03 22:04:41 -07:00
389185a59c Account creation technically plumpbed; UX isn't the best when setting up account
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2018-10-01 19:09:02 -07:00
James Ketrenos
1dc3d74743 Email system plumbed to send authentication request. 2018-10-01 14:07:36 -07:00
James Ketrenos
effb1f31c8 Started adding authentication mailer sequence 2018-10-01 11:45:29 -07:00
b46c505b77 Fix load flash
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2018-09-29 17:11:59 -07:00
4a9bb061b0 Fixed EMFILE problem
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2018-09-28 01:37:44 -07:00
383b5fae61 Scanning and everything now works
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2018-09-27 23:30:21 -07:00
698cd6a202 Login and account creation working
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2018-09-27 15:26:37 -07:00
7730ebb28b Make LDAP configuration optional
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2018-09-23 11:19:02 -07:00
3c4d12c176 Login with bad credentials fails correctly
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2018-09-16 21:06:38 -07:00
c2ae12df5c Added LDAP login and forced login
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2018-09-16 20:58:37 -07:00