mirror of
https://github.com/pinry/pinry.git
synced 2026-01-18 13:12:08 +01:00
Feature: Auto login user in for bookmarklet
This commit is contained in:
@@ -31,6 +31,7 @@ export default {
|
||||
if (user === null) {
|
||||
self.user.loggedIn = false;
|
||||
self.user.meta = {};
|
||||
modals.openLogin(self, () => null);
|
||||
} else {
|
||||
self.user.meta = user;
|
||||
self.user.loggedIn = true;
|
||||
|
||||
Reference in New Issue
Block a user