user_mgmt 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -15,9 +15,7 @@ module UserMgmt
|
|
15
15
|
|
16
16
|
if response[:status] == "200"
|
17
17
|
flash[:success] = "User was created succesfully!"
|
18
|
-
|
19
|
-
cookies.permanent[:user_session_id] = response[:body]["session"]
|
20
|
-
redirect_to main_app.root_path
|
18
|
+
redirect_to user_log_in_path
|
21
19
|
else
|
22
20
|
flash[:warning] = response[:body]
|
23
21
|
redirect_to sign_up_path
|
data/lib/user_mgmt/version.rb
CHANGED