|
|
@ -13,7 +13,7 @@ module OpenProject |
|
|
|
# If not call super which will reset the session, set |
|
|
|
# If not call super which will reset the session, set |
|
|
|
# the new user, and redirect to some page the script the |
|
|
|
# the new user, and redirect to some page the script the |
|
|
|
# reauthentication doesn't care about. |
|
|
|
# reauthentication doesn't care about. |
|
|
|
def successful_authentication(user) |
|
|
|
def successful_authentication(user, reset_stages: true) |
|
|
|
if reauthentication? |
|
|
|
if reauthentication? |
|
|
|
finish_reauthentication! |
|
|
|
finish_reauthentication! |
|
|
|
else |
|
|
|
else |
|
|
|