Thomas M Steenholdt 539e6bc562 Fix double refresh when activating 2FA
When toggling Two Factor Authentication, it often takes a few tries to get it to work.
The toggle function ends up reloading the page in two different places, effectively creating a race condition.

This fixes that problem

(cherry picked from commit 6b9fc897bc02ff857a968e76ed49f1b0f2108bb5)
2018-08-12 07:48:34 -02:00
..
2018-05-02 22:56:22 +00:00
2018-06-11 12:57:09 +02:00
2018-06-11 21:16:28 +02:00
2018-08-09 16:21:42 +07:00
2018-08-07 09:09:34 +07:00