12995: Don't let admins lose admin privs by linking a non-admin account.
[arvados.git] / apps / workbench / app / views / users / request_shell_access.js
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 var timestamp = new Date();
6 localStorage.setItem("request_shell_access",
7                      "A request for shell access was sent on " +
8                      timestamp.toLocaleDateString() +
9                      " at " +
10                      timestamp.toLocaleTimeString());
11 // The storage event gets triggered automatically in _other_ windows
12 // when we hit localStorage, but we also need to fire it manually in
13 // _this_ window.
14 $(document).trigger('storage');