Files
NodeBB/test
Julian Lam 5f3d1c76c8 fix: #7038, autoLocale logic not playing nicely with no-refresh auths (#7059)
* fix: #7038, autoLocale logic not playing nicely with no-refresh auths

- on login, req.query.lang is deleted (since it seems to be left over)
- on logout, the middleware.autoLocale is executed, which resets
  req.query.lang
- middleware.autoLocale is new, just refactored existing logic in
  webserver.js into new middleware method.

* style: tests, use lodash

* fix: timeago strings not switching languages on login or out
2018-12-07 11:29:20 -05:00
..
2018-11-25 19:08:38 -05:00
2018-09-20 17:05:52 -04:00
2018-11-30 21:35:57 -05:00
2017-02-18 15:05:36 -07:00
2018-12-05 11:22:44 -05:00
2018-11-26 17:33:39 -05:00
2018-11-30 21:35:57 -05:00
2017-05-10 21:46:11 -04:00
2018-08-08 15:13:48 -04:00
2018-03-20 10:32:53 -04:00
2018-10-20 14:40:48 -04:00
2017-10-31 22:18:15 -04:00
2018-11-11 18:42:15 -05:00
2017-05-28 17:21:49 -04:00
2018-10-16 17:21:03 -04:00
2017-02-18 12:30:49 -07:00
2018-10-30 19:41:06 -04:00
2018-10-17 14:58:34 -04:00
2018-11-09 15:09:47 -05:00
2018-10-18 16:33:34 -04:00
2018-10-27 06:26:50 -04:00
2018-01-08 13:53:05 -05:00
2018-10-27 06:26:50 -04:00
2018-01-10 16:14:42 -05:00
2018-11-30 21:35:57 -05:00
2018-11-22 21:57:56 -05:00