Grzegorz Leoniec
47c858d9d2
Improved locale handling
2019-01-04 15:03:35 +01:00
Grzegorz Leoniec
bbe1d4e7c3
merged master in
2018-12-29 16:09:06 +01:00
Robert Schäfer
16997ee63d
Refactor login with confidence
...
This is why I ❤️ testing. First I wrote several tests to get
familiar with the existing code and specified everything that I believe to
be required. Then I refactor the entire method at once and the tests pass.
Note that I do **not** believe that setting the user data to `null` is
really relevant.
2018-12-19 18:04:25 +01:00
Robert Schäfer
b17686656b
Test error path of #login procedure
2018-12-19 11:58:03 +01:00
Robert Schäfer
bf8f2f8877
Remove dead code
2018-12-19 11:11:12 +01:00
Robert Schäfer
d465db5906
Test store/auth#login
2018-12-19 11:11:12 +01:00
Robert Schäfer
01f5cfd481
Run yarn run lint --fix
2018-12-19 11:11:12 +01:00
Robert Schäfer
fec665eaf4
Implement+test auth.isAuthenticated()
2018-12-19 11:11:12 +01:00
Grzegorz Leoniec
68bce0c017
fixed user role check
2018-12-17 19:54:23 +01:00
Grzegorz Leoniec
f57c45bb3b
added locations and about me text
2018-11-12 14:27:12 +01:00
Grzegorz Leoniec
76d607033f
added user menu and fixed auth store
2018-10-30 18:40:04 +01:00
Grzegorz Leoniec
1735767cce
added jwt login and authentication plus some toast
2018-10-17 19:57:24 +02:00