Browse Source

refactor: review suggestions

pull/7569/head
Pranav C 7 months ago
parent
commit
6d4eda06b9
  1. 2
      packages/nc-gui/middleware/auth.global.ts

2
packages/nc-gui/middleware/auth.global.ts

@ -160,7 +160,7 @@ async function tryGoogleAuth(api: Api<any>, signIn: Actions['signIn']) {
}
/**
* If short-token present, try using it to generate log-living token before navigating to the next page
* If short-token present, try using it to generate long-living token before navigating to the next page
*/
async function tryShortTokenAuth(api: Api<any>, signIn: Actions['signIn']) {
if (window.location.search && /\bshort-token=/.test(window.location.search)) {

Loading…
Cancel
Save