tkh_authentication 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md
CHANGED
@@ -14,7 +14,7 @@ class UsersController < ApplicationController
|
|
14
14
|
def create
|
15
15
|
@user = User.new(params[:user])
|
16
16
|
if @user.save
|
17
|
-
|
17
|
+
cookies[:auth_token] = @user.auth_token
|
18
18
|
redirect_to root_url, notice: t('authentication.signup_confirmation')
|
19
19
|
else
|
20
20
|
render "new"
|
@@ -1,22 +1,32 @@
|
|
1
1
|
es:
|
2
2
|
language_name: "Español"
|
3
|
+
|
4
|
+
activerecord:
|
5
|
+
attributes:
|
6
|
+
user:
|
7
|
+
first_name: "nombre de pila"
|
8
|
+
last_name: "apellido"
|
9
|
+
email: "email"
|
10
|
+
password: 'contraseña'
|
11
|
+
password_confirmation: 'confirmar contraseña'
|
12
|
+
|
3
13
|
authentication:
|
4
|
-
create_account: '
|
5
|
-
forgot_password:
|
6
|
-
login_confirmation:
|
7
|
-
login_now: "
|
8
|
-
logout: "
|
9
|
-
logout_confirmation:
|
10
|
-
not_registered:
|
11
|
-
password_reset_confirmation:
|
12
|
-
password_reset_email_subject:
|
13
|
-
reset_instructions: "
|
14
|
-
reset_password_email_sent_confirmation:
|
15
|
-
reset_your_password:
|
16
|
-
signup_confirmation:
|
17
|
-
update_password:
|
14
|
+
create_account: 'crea tu cuenta'
|
15
|
+
forgot_password: '¿olvidaste tu contraseña?'
|
16
|
+
login_confirmation: 'Conectado con éxito'
|
17
|
+
login_now: "conectar"
|
18
|
+
logout: "salir"
|
19
|
+
logout_confirmation: 'Se ha cerrado la sesión'
|
20
|
+
not_registered: 'no tienes una cuenta todavía'
|
21
|
+
password_reset_confirmation: 'Tu contraseña se ha restablecido correctamente.'
|
22
|
+
password_reset_email_subject: 'Restablecimiento de contraseña.'
|
23
|
+
reset_instructions: "Para restablecer tu contraseña click o visita este enlace: %{reset_url} \n\n si no has pedido que se reestablezca tu contraseña, por favor ignora este e-mail. Tu contraseña seguirá igual."
|
24
|
+
reset_password_email_sent_confirmation: 'Te hemos enviado un enlace para reestablecer tu contraseña.'
|
25
|
+
reset_your_password: 'Restablece tu contraseña.'
|
26
|
+
signup_confirmation: 'Hemos creado tu cuenta y ya estas conectado.'
|
27
|
+
update_password: 'Actualiza tu contraseña.'
|
18
28
|
warning:
|
19
|
-
email_or_password_invalid:
|
20
|
-
login_needed:
|
21
|
-
no_such_email:
|
22
|
-
password_reset_expired:
|
29
|
+
email_or_password_invalid: 'Correo electrónico o contraseña no válidos'
|
30
|
+
login_needed: 'Tienes que estar conectado para acceder a esta pagina. Te redirijimos al formulario para conectar.'
|
31
|
+
no_such_email: 'No existe ninguna cuenta con el correo electronico que nos has proporcionado.'
|
32
|
+
password_reset_expired: 'El reestablecimiento de la contraseña ha caducado. Tienes 24 horas para intentarlo otra vez.'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tkh_authentication
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -170,7 +170,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
170
170
|
version: '0'
|
171
171
|
segments:
|
172
172
|
- 0
|
173
|
-
hash:
|
173
|
+
hash: 2192930084829117030
|
174
174
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
175
175
|
none: false
|
176
176
|
requirements:
|
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
179
|
version: '0'
|
180
180
|
segments:
|
181
181
|
- 0
|
182
|
-
hash:
|
182
|
+
hash: 2192930084829117030
|
183
183
|
requirements: []
|
184
184
|
rubyforge_project:
|
185
185
|
rubygems_version: 1.8.23
|