<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>Devise Google Group</title>
  <link>http://groups.google.com/group/plataformatec-devise</link>
  <description>Devise is a flexible authentication solution for Rails on top of Warden.</description>
  <language>en-US</language>
  <item>
  <title>Re: get current_user or user_signed_in? without redirect after session time out</title>
  <link>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/318a054edf40748f/9d04b0e03f992fc8?show_docid=9d04b0e03f992fc8</link>
  <description>
  Hi All, &lt;br&gt; I&#39;ve ran into the same issue and worked around the problem by calling the &lt;br&gt; http_auth method on timeout failure. &lt;br&gt; class AuthenticationFailureApp &amp;lt; Devise::FailureApp &lt;br&gt; def redirect &lt;br&gt; message = warden.message || warden_options[:message] &lt;br&gt; if message == :timeout &amp;amp;&amp;amp; scope == :user &lt;br&gt; http_auth
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/plataformatec-devise/browse_thread/thread/318a054edf40748f/9d04b0e03f992fc8?show_docid=9d04b0e03f992fc8</guid>
  <author>
  frank.trind...@gmail.com
  (Francisco Trindade)
  </author>
  <pubDate>Tue, 21 May 2013 00:58:10 UT
</pubDate>
  </item>
  <item>
  <title>Re: [devise] Re: Notifying the user whether the password or the email was incorrect after a failed login</title>
  <link>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/b8769644bdc361d6?show_docid=b8769644bdc361d6</link>
  <description>
  Actually, this turned out to be as simple as updating devise.en.yml. &lt;br&gt; &lt;p&gt;en: &lt;br&gt; devise: &lt;br&gt; failure: &lt;br&gt; invalid: That password appears to be incorrect. &lt;br&gt; not_found_in_database: &amp;quot;There doesn&#39;t appear to be a user with &lt;br&gt; that email address.&amp;quot;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/b8769644bdc361d6?show_docid=b8769644bdc361d6</guid>
  <author>
  dan...@populr.me
  (Daniel Nelson)
  </author>
  <pubDate>Mon, 20 May 2013 15:51:01 UT
</pubDate>
  </item>
  <item>
  <title>Re: [devise] Re: Notifying the user whether the password or the email was incorrect after a failed login</title>
  <link>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/fcf37175da534ed1?show_docid=fcf37175da534ed1</link>
  <description>
  override method `find_or_initialize_with_error s` &lt;br&gt; &lt;p&gt;Thank you, Vasiliy. &lt;br&gt; &lt;p&gt;Thank you for pointing that out, Andreo. However, Devise alone doesn&#39;t &lt;br&gt; block against user enumeration even in paranoid mode &lt;br&gt; (&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;https://github.com/plataformatec/devise/wiki/How-To:-Using-paranoid-mode,-avoid-user-enumeration-on-registerable&quot;&gt;[link]&lt;/a&gt;).
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/fcf37175da534ed1?show_docid=fcf37175da534ed1</guid>
  <author>
  dan...@populr.me
  (Daniel Nelson)
  </author>
  <pubDate>Mon, 20 May 2013 14:25:26 UT
</pubDate>
  </item>
  <item>
  <title>Re: Notifying the user whether the password or the email was incorrect after a failed login</title>
  <link>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/94533a8e927509a2?show_docid=94533a8e927509a2</link>
  <description>
  The reason why devise does this has to do with the attacker not being able &lt;br&gt; to know if he got any of the parameters right, reducing the time of &lt;br&gt; guessing by brute-force attacks/dictionary attacks to half. especially if &lt;br&gt; he finds out one password and then he can get a way of getting all the &lt;br&gt; users emails and try them all out. if you really want to implement this
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/94533a8e927509a2?show_docid=94533a8e927509a2</guid>
  <author>
  and...@benjamin.dk
  </author>
  <pubDate>Mon, 20 May 2013 08:55:50 UT
</pubDate>
  </item>
  <item>
  <title>Re: [devise] Notifying the user whether the password or the email was incorrect after a failed login</title>
  <link>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/03f9c7b6f6dd55f9?show_docid=03f9c7b6f6dd55f9</link>
  <description>
  Hi, &lt;br&gt; &lt;p&gt;I think right not it can&#39;t be configured. The only way I see is to &lt;br&gt; override method `find_or_initialize_with_error s` &lt;br&gt; (&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;https://github.com/plataformatec/devise/blob/f5e33089a032f44abd80225e34370c4fdd651a25/lib/devise/models/authenticatable.rb#L255&quot;&gt;[link]&lt;/a&gt;) &lt;br&gt; and fill it with your own logic: &lt;br&gt; &lt;p&gt;class User &amp;lt; AR::Base
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/03f9c7b6f6dd55f9?show_docid=03f9c7b6f6dd55f9</guid>
  <author>
  youn...@gmail.com
  (Vasiliy Ermolovich)
  </author>
  <pubDate>Fri, 17 May 2013 14:37:03 UT
</pubDate>
  </item>
  <item>
  <title>Notifying the user whether the password or the email was incorrect after a failed login</title>
  <link>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/b5b656c2d00a8117?show_docid=b5b656c2d00a8117</link>
  <description>
  Hello, &lt;br&gt; &lt;p&gt;Someone sent me a Mailchimp blog post &lt;br&gt; (&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://blog.mailchimp.com/social-login-buttons-arent-worth-it/&quot;&gt;[link]&lt;/a&gt;) that &lt;br&gt; shows that they were able to dramatically reduce failed logins by &lt;br&gt; telling the user which was incorrect: the email or the password. &lt;br&gt; Devise takes the position that it is more secure to obscure this (even
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/plataformatec-devise/browse_thread/thread/d2db3b024c44858d/b5b656c2d00a8117?show_docid=b5b656c2d00a8117</guid>
  <author>
  dan...@populr.me
  (Daniel Nelson)
  </author>
  <pubDate>Fri, 17 May 2013 14:02:03 UT
</pubDate>
  </item>
  <item>
  <title>Re: [devise] Notification on registered user</title>
  <link>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/f7b48a40223569f6/d99c3233e0130939?show_docid=d99c3233e0130939</link>
  <description>
  I think the primary one that anyone would want to track with analytics is &lt;br&gt; user registrations ... perhaps that&#39;s just an after_create on user, but it &lt;br&gt; seems to make much more sense to do it as an AS::Notification on the devise &lt;br&gt; controller method.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/plataformatec-devise/browse_thread/thread/f7b48a40223569f6/d99c3233e0130939?show_docid=d99c3233e0130939</guid>
  <author>
  swro...@gmail.com
  (Stefan Wrobel)
  </author>
  <pubDate>Thu, 16 May 2013 01:45:44 UT
</pubDate>
  </item>
  <item>
  <title>Re: [devise] Notification on registered user</title>
  <link>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/f7b48a40223569f6/666541928042dc0d?show_docid=666541928042dc0d</link>
  <description>
  Depends on what pieces of code you want to wrap with AS::Notifications, but &lt;br&gt; in general it can be pretty easy.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/plataformatec-devise/browse_thread/thread/f7b48a40223569f6/666541928042dc0d?show_docid=666541928042dc0d</guid>
  <author>
  lucastma...@gmail.com
  (Lucas Mazza)
  </author>
  <pubDate>Thu, 16 May 2013 01:11:18 UT
</pubDate>
  </item>
  <item>
  <title>Re: [devise] Notification on registered user</title>
  <link>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/f7b48a40223569f6/4c0b33dad4bb9db0?show_docid=4c0b33dad4bb9db0</link>
  <description>
  Is there any simple way to wire ActiveSupport::Notifications into Devise?
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/plataformatec-devise/browse_thread/thread/f7b48a40223569f6/4c0b33dad4bb9db0?show_docid=4c0b33dad4bb9db0</guid>
  <author>
  swro...@gmail.com
  (Stefan Wrobel)
  </author>
  <pubDate>Thu, 16 May 2013 00:47:44 UT
</pubDate>
  </item>
  <item>
  <title>Re: [devise] user id from the devise session</title>
  <link>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/b768bfc1b633785e/a966735e41fe12e8?show_docid=a966735e41fe12e8</link>
  <description>
  oops, yes, thanks, god I&#39;m stupid sometimes
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/plataformatec-devise/browse_thread/thread/b768bfc1b633785e/a966735e41fe12e8?show_docid=a966735e41fe12e8</guid>
  <author>
  michaeljohnmitch...@gmail.com
  (Prizefighter)
  </author>
  <pubDate>Wed, 15 May 2013 19:26:21 UT
</pubDate>
  </item>
  <item>
  <title>Re: [devise] user id from the devise session</title>
  <link>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/b768bfc1b633785e/eceb913929189be9?show_docid=eceb913929189be9</link>
  <description>
  Could you try current_user.id ? That would seem to be the canonical way to do this. &lt;br&gt; &lt;p&gt;Walter
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/plataformatec-devise/browse_thread/thread/b768bfc1b633785e/eceb913929189be9?show_docid=eceb913929189be9</guid>
  <author>
  wa...@wdstudio.com
  (Walter Lee Davis)
  </author>
  <pubDate>Wed, 15 May 2013 19:18:36 UT
</pubDate>
  </item>
  <item>
  <title>user id from the devise session</title>
  <link>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/b768bfc1b633785e/be4da91b32d945b5?show_docid=be4da91b32d945b5</link>
  <description>
  In my Rails app with Devise, I&#39;m making some home-made analytics that &lt;br&gt; works, in part, the following way. If a user visits another user&#39;s profile, &lt;br&gt; the show action of the user&#39;s profile checks whether the visitor is a &lt;br&gt; registered user and, if so, it saves the user_id of the visitor to the &lt;br&gt; database.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/plataformatec-devise/browse_thread/thread/b768bfc1b633785e/be4da91b32d945b5?show_docid=be4da91b32d945b5</guid>
  <author>
  michaeljohnmitch...@gmail.com
  (Prizefighter)
  </author>
  <pubDate>Wed, 15 May 2013 19:12:37 UT
</pubDate>
  </item>
  <item>
  <title>Re: [devise] Collecting the #{user}_return_to value to save it in my user model and redirect user to this url aft</title>
  <link>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/22a51d745b993325/b1ef0768cea9af74?show_docid=b1ef0768cea9af74</link>
  <description>
  Please see my answer on SO - &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://stackoverflow.com/a/16571633/336626&quot;&gt;[link]&lt;/a&gt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/plataformatec-devise/browse_thread/thread/22a51d745b993325/b1ef0768cea9af74?show_docid=b1ef0768cea9af74</guid>
  <author>
  youn...@gmail.com
  (Vasiliy Ermolovich)
  </author>
  <pubDate>Wed, 15 May 2013 17:48:06 UT
</pubDate>
  </item>
  <item>
  <title>Collecting the #{user}_return_to value to save it in my user model and redirect user to this url aft</title>
  <link>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/22a51d745b993325/7d7a103a1ebd2859?show_docid=7d7a103a1ebd2859</link>
  <description>
  I want to collect the url the users requested before signing up. Devise &lt;br&gt; remember this URL and send the user to it after registration. &lt;br&gt; To do so i tried to call after_sign_up_path_for(resourc e) in the create &lt;br&gt; method of my overrided registration controller. &lt;br&gt; Problem is that devise immediatly erase the value after it has been called,
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/plataformatec-devise/browse_thread/thread/22a51d745b993325/7d7a103a1ebd2859?show_docid=7d7a103a1ebd2859</guid>
  <author>
  syla...@gmail.com
  (Sylario Syl)
  </author>
  <pubDate>Wed, 15 May 2013 17:26:33 UT
</pubDate>
  </item>
  <item>
  <title>redirect back to last get request after timeout causes extra 401 redirect</title>
  <link>http://groups.google.com/group/plataformatec-devise/browse_thread/thread/162921b2bce74b5e/a87bdaa8fa40182e?show_docid=a87bdaa8fa40182e</link>
  <description>
  Hi, &lt;br&gt; &lt;p&gt;If a user submits a page (POST/PUT) after his timeout expired, he will have &lt;br&gt; to login again. After that he will be redirected to the page he came from. &lt;br&gt; This is done by the #store_location!() method and only works for GET &lt;br&gt; requests. So, I expect to be redirect to the last :new or :edit action of
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/plataformatec-devise/browse_thread/thread/162921b2bce74b5e/a87bdaa8fa40182e?show_docid=a87bdaa8fa40182e</guid>
  <author>
  jan.javi...@gmail.com
  (javinto)
  </author>
  <pubDate>Wed, 15 May 2013 13:25:20 UT
</pubDate>
  </item>
  </channel>
</rss>
