nitrotasks / nitro

The beautiful way to get things done.
https://nitrotasks.com
GNU Affero General Public License v3.0
518 stars 66 forks source link

Auth screen #243

Closed stayradiated closed 10 years ago

stayradiated commented 10 years ago

Currently the auth screen (login form) is displayed on startup every time, even if the user has logged in or opted to use Nitro without an account.

We should be check the Setting model and see if the user has used the app before and skip the auth screen.

stayradiated commented 10 years ago

I have split up the Setting model into Setting + User.

User configurable settings that will be kept in sync with the server go into Setting.

User information, such as the uid and token, and are kept local, go into User.

Now I just have to clear up how the offline mode works.

stayradiated commented 10 years ago

Auth screen now hides if the user is 'authenticated' or 'offline'.