Johannes Zellner
9f29438b34
Allow changing fallbackEmail via the profile api
2018-01-22 15:55:55 +01:00
Johannes Zellner
48d557b242
Replace alternateEmail with fallbackEmail
2018-01-21 14:50:24 +01:00
Girish Ramakrishnan
536c16929b
Remove showTutorial
2017-01-17 09:11:34 -08:00
Johannes Zellner
a0ef86f287
Remove now unused tutorial route and business logic
...
We can bring that back again if needed
2017-01-17 12:50:59 +01:00
Johannes Zellner
58b5613c6b
Send alternateEmail with profile and user rest api
2016-09-28 11:08:11 +02:00
Johannes Zellner
94ee636254
No need to again check the groups for admin
...
This is already in user.get() which is attached to req.user
2016-07-12 10:11:04 -07:00
Girish Ramakrishnan
80ca69a128
user.update does not need the user object
2016-06-02 23:53:06 -07:00
Girish Ramakrishnan
462440bb30
do not check for password in profile route
...
This is already checked by the verifyPassword middleware based on
the token type.
When using dev tokens, this check barfs for lack of password field
even when none is required.
2016-06-02 14:26:01 -07:00
Johannes Zellner
bdd14022d6
Report user conflict message all the way through the rest routes
2016-06-02 15:41:07 +02:00
Johannes Zellner
8eeee712aa
Remove unused require
2016-06-02 14:14:16 +02:00
Johannes Zellner
0f62faa198
All our tokens are now representing an user with a profile
2016-06-02 14:13:57 +02:00
Girish Ramakrishnan
60ce6b69ee
profile updates must be POST
2016-06-02 00:31:41 -07:00
Girish Ramakrishnan
82cd215ffa
merge bad fields and pass error.message correctly in REST responses
2016-06-02 00:12:21 -07:00
Johannes Zellner
d41eb81b3d
Add new profile/ route to set the showTutorial field
2016-05-06 13:56:40 +02:00
Girish Ramakrishnan
d7a34bbf68
remove profile action
2016-05-01 20:14:21 -07:00
Girish Ramakrishnan
1f31fe6f8f
make user.remove and user.update add eventlog
2016-05-01 20:11:11 -07:00
Girish Ramakrishnan
71219c6af7
add eventlog hooks
2016-04-30 14:05:19 -07:00
Girish Ramakrishnan
c511019d79
remove jslint hint
2016-04-30 11:53:46 -07:00
Johannes Zellner
18f3733d6e
Simplify the password change logic
...
We now can use verifyPassword and this makes
user.changePassword() route obsolete
2016-04-17 19:17:03 +02:00
Johannes Zellner
fabe55622e
Fix the first bunch of profile tests
2016-04-17 16:49:09 +02:00
Johannes Zellner
a7d22a1972
Add specific user profile routes
2016-04-17 16:22:39 +02:00