user_mgmt 0.7.25 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9615c8a27b71afee2acbe2427360a63182e583a0
4
- data.tar.gz: 8df6b8359d0c19a3ab71747277da288301430c58
3
+ metadata.gz: e09f33639a5346ac20ee17b2963e8ea06bbc7cb5
4
+ data.tar.gz: 7902d4fbd61aa35b0160cc12a7433e569811343d
5
5
  SHA512:
6
- metadata.gz: 85a5e328ab19089540fbbfbe97021e46d7cf4a2d563bfd002a54103f368cc385583062c630d5cb6cb4929ab01207ca7c61a574ab11176bccd4ea2fec9a750a2a
7
- data.tar.gz: e32488dee52e4bd00adf40df66ff3bb20d9a8ebc7f38f50bb1807b84698466b26c91997e919892cf343d634e294906009a8be39d4a7ab130c8b184f35b24a313
6
+ metadata.gz: 2c370c07aa397379b481f9b11d680c016a413ff3ea70b3362477bbb3939c6544123c6ee2bbcd1530a06c895e6c6ec03352ce8798636b38a835ac531b8e7cf31f
7
+ data.tar.gz: f97bc98c7bedad4652daca48f6d59a00408e5490518257dff206f0a5e69d57337f37869704806a37093bb411c99a7359a8d0d7ec2fc7e272ea5d1308ff3ad1f4
@@ -18,7 +18,7 @@ module UserMgmt
18
18
  cookies.permanent[:user_session_id] = response[:body]["session"]
19
19
  redirect_to main_app.root_path
20
20
  else
21
- flash[:warning] = response[:body]
21
+ flash[:error] = response[:body]
22
22
  redirect_to sign_up_path
23
23
  end
24
24
 
@@ -20,7 +20,7 @@ module UserMgmt
20
20
  cookies.permanent[:user_session_id] = response[:body]["session"]
21
21
  redirect_to main_app.root_path
22
22
  else
23
- flash[:warning] = response[:body]
23
+ flash[:error] = response[:body]
24
24
  redirect_to log_in_path
25
25
  end
26
26
 
@@ -60,7 +60,7 @@ module UserMgmt
60
60
 
61
61
  #if for some reason, the user couldn't be created
62
62
  if response[:status] == "400"
63
- redirect_to sign_up_path, flash: { warning: response[:body] }
63
+ redirect_to sign_up_path, flash: { error: response[:body] }
64
64
  else
65
65
  response = log_in_oauth params["uid"], params["provider"].to_sym
66
66
  cookies.permanent[:user_session_id] = response[:body]["session"]
@@ -1,3 +1,3 @@
1
1
  module UserMgmt
2
- VERSION = "0.7.25"
2
+ VERSION = "0.8"
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.7.25
4
+ version: '0.8'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Faria, Fernando Gorodscy, Josh Leslie