Commit Graph

7 Commits

Author SHA1 Message Date
Adhityaa Chandrasekar
9538c9036e api: update commenter information on new login 2019-08-21 21:05:17 -07:00
Adhityaa Chandrasekar
514535a607 oauth_google_callback.go: fix potential nil panic 2019-01-30 21:25:09 -05:00
Adhityaa
ef0f45527a everywhere: use different session cookie names
If the user is hosting the dashboard in the same domain as
their blog (with a nginx suburi, for example), the two session
cookies clash; logging into one service logs you out of the other.
With this patch, both have separate names.

Fixes https://gitlab.com/commento/commento-ce/issues/49
2018-06-20 08:59:55 +05:30
Adhityaa
2020405e8b frontend, api: allow custom emails as commenters
I'm really sorry this came out as one huge commit, but I'm afraid
I can't split this up.

Closes https://gitlab.com/commento/commento-ce/issues/9
2018-06-10 22:58:54 +05:30
Adhityaa
2723053039 oauth_google_callback.go: use commenterGetByEmail 2018-06-07 13:14:19 +05:30
Adhityaa
a066062f8b oauth_google_callback.go: use error to detect auth 2018-06-07 13:13:36 +05:30
Adhityaa
a090770b73 api: Add go files
I know this is a huge commit, but I can't be bothered to check
this in part by part.
2018-05-27 23:40:46 +05:30