authentasaurus 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -52,8 +52,7 @@ class Authentasaurus::RecoveriesController < Authentasaurus::AuthentasaurusContr
|
|
52
52
|
@recovery.destroy
|
53
53
|
format.html { redirect_to new_session_path, :notice => t(:recovery_successful, :scope => [:authentasaurus, :messages, :recoveries], :email => params[:email]) }
|
54
54
|
else
|
55
|
-
|
56
|
-
format.html { render :edit, :email => params[:email]) }
|
55
|
+
format.html { render :edit, :alert => t(:recovery_failed, :scope => [:authentasaurus, :messages, :recoveries], :email => params[:email]) }
|
57
56
|
end
|
58
57
|
end
|
59
58
|
end
|
@@ -27,8 +27,8 @@ class Authentasaurus::ValidationsController < Authentasaurus::AuthentasaurusCont
|
|
27
27
|
validation.send_validation
|
28
28
|
format.html {redirect_to login_url, :notice => I18n.t(:validation_email_sent, :scope => [:authentasaurus, :messages, :validations])}
|
29
29
|
else
|
30
|
-
flash[:alert] = I18n.t(:validation_email_invalid, :scope => [:authentasaurus, :messages, :validations])
|
31
|
-
format.html { render :resend_validation_email
|
30
|
+
flash[:alert] = I18n.t(:validation_email_invalid, :scope => [:authentasaurus, :messages, :validations], :email => params[:email])
|
31
|
+
format.html { render :resend_validation_email }
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authentasaurus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 6
|
10
|
+
version: 0.4.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Omar Mekky
|