Change password after / with signin
When the user has to change his password before he can signin.
URL: /api/auth/changePasswordAfterSignin
Method: POST
Auth required: No
Data constraints
Data example with stay logged in
Data example without stay logged in
#
Success responseCondition: Username and password is correct and account is activated.
Code: 200
Content example with stay logged in
Content example without stay logged in
#
Warning response#
Account not activatedCondition: User account is not activated.
Code: 400
Content example
The user has to wait until his account is activated by an administrator.
#
Error response#
Username or password is wrongCondition: Username or password is wrong.
Code: 400
Content example
#
User does not need to change his passwordCondition: User tries to change his password after signin but does not need to.
Code: 400
Content example
#
NotesA JSON Web Token is only for an hour valid. After expiring you can not use it anymore.