authentication-zero 2.12.1 → 2.12.2
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 057a4b87d7c1e0266740e9ab1e2191dd453d87d5f16281b69913d19ef4d80902
|
4
|
+
data.tar.gz: f723896e9f01e4fcb8279851bd11603e9f5a2bd1faa3422fca95cd2dbaf617c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23cf78206952d20cb762de004e8fee4e1493a9f4e276fc0f8dfc8f778b4af379fd490ad7650c1d54d31f9da878e293dc9876543e0aa3258518d57a08da84b2d0
|
7
|
+
data.tar.gz: 19a96cdec26dbad3aa959190c281497d2f6d0a2161d35691a61547d075818de3642b0b44f3035eed81382bea3f0aa928cc39c1fae3b427728d4273a666f68985
|
data/Gemfile.lock
CHANGED
@@ -8,7 +8,7 @@ class RegistrationsController < ApplicationController
|
|
8
8
|
session = @user.sessions.create!
|
9
9
|
response.set_header "X-Session-Token", session.signed_id
|
10
10
|
|
11
|
-
render json:
|
11
|
+
render json: @user, status: :created
|
12
12
|
else
|
13
13
|
render json: @user.errors, status: :unprocessable_entity
|
14
14
|
end
|