user_mgmt 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,8 @@ module UserMgmt
15
15
 
16
16
  if response[:status] == "200"
17
17
  flash[:success] = "User was created succesfully!"
18
- redirect_to user_log_in_path, { method: 'POST' }
18
+ cookies.permanent[:user_session_id] = response[:body]["session"]
19
+ redirect_to main_app.root_path
19
20
  else
20
21
  flash[:warning] = response[:body]
21
22
  redirect_to sign_up_path
@@ -1,3 +1,3 @@
1
1
  module UserMgmt
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user_mgmt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: