Open kumm opened 11 years ago
+1
Hi kumm,
how can I use your modifications in barkeep? I cloned your master barkeeper repo and installed it, but the login page is always the google's page.
Thanks!
I have not changed the authentication method. It's oauth with google. So the login page is always the google's page. You have to login by google. The only thing changed, is you don't have to use the same email address for login, and for the git commits.
ok, thank you!
I tried merging this on top of bb24f2263ede7074319e1a69a0b6de2dfdafa692 but I got NoMethodError - undefined method login for #<User:0x0000000347eb88>
error on /settings
.
Full stack trace https://gist.github.com/epeli/10867578
Update: It seems that I just forgot to run the migrations. Ok to merge!
Now barkeep thinks my gmail address for signin is the same to the email address in my commits. This is not the case.
I've introduced a new login field for signin, and made current email address editable. Just the signin process changed slightly, everything works as before. Except you can configure your email address. As before, all outgoing mail sent to this address, and the commits have to contain this address too. A migration also included to fill the new login field to the current email, so existing users works after this change.
In general, this is another apporach to issue #426