Merge changes I2304bfca,I378cc296,Ie08e50ea,Ia32983e2,Id51a0504
* changes: config-sso.txt: Update sections that talk about external IDs Document accounts in NoteDb Allow to push updates of account.config file Remove support for writing accounts from ReviewDb Remove support for reading accounts from ReviewDb
This commit is contained in:
@@ -239,9 +239,9 @@ class BecomeAnyAccountLoginServlet extends HttpServlet {
|
||||
} catch (NumberFormatException nfe) {
|
||||
return null;
|
||||
}
|
||||
try (ReviewDb db = schema.open()) {
|
||||
return auth(accounts.get(db, id));
|
||||
} catch (OrmException | IOException | ConfigInvalidException e) {
|
||||
try {
|
||||
return auth(accounts.get(id));
|
||||
} catch (IOException | ConfigInvalidException e) {
|
||||
getServletContext().log("cannot query database", e);
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user