Ruby on Rails
Thursday, October 4, 2018
Ok, then I think I'm going to make a few small changes to the profile form and the login/sign up pages.
-- So you're either registered locally or by facebook. I'll check for a provider in the user table, and if that exists I'll remove the password field (and maybe say that you account is registered using facebook - so they remember how they signed up.)
.
And I guess if they have initially they can't log in using facebook?
And I guess if they have initially they can't log in using facebook?
Thanks,
Joe
On Thursday, October 4, 2018 at 6:12:07 PM UTC-4, Walter Lee Davis wrote:
On Thursday, October 4, 2018 at 6:12:07 PM UTC-4, Walter Lee Davis wrote:
When you authenticate with an OAuth provider, you don't get a local password. If you want to change the password, you have to do that at Facebook.
Walter
> On Oct 4, 2018, at 9:48 AM, Joe Guerra <jgu...@jginfosys.com> wrote:
>
> I've got these two working together , but I've found out if you sign up initially with facebook - the devise password doesn't exist.
> So I had no way of updating the profile, then I found this ... https://github.com/plataformatec/devise/wiki/How- To:-Allow-users-to-edit-their- account-without-providing-a- password
>
> and removed the confirmation to update the profile which worked, but did not update the devise password.
>
> has anyone dealt with this and found a way around it?
>
> Thanks,
> Joe
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com .
> To post to this group, send email to rubyonra...@googlegroups.com .
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .b1c677b5-0c3e-4130-ae02- 8c52809da84b%40googlegroups. com
> For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ce5fa151-b910-45f4-b35e-06d9f3950a92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment