mirror of
https://github.com/janishutz/oidc-login-sdk.git
synced 2026-10-08 17:36:20 +02:00
chore: version bump, script to automate publishing
This commit is contained in:
1 parent
8246f4fdcc
commit
1e4f456063
4 files changed
+14
-3
No files matched your search
+1
-1
@@ -5,7 +5,7 @@ import config from './config.js';
|
||||
|
||||
export const login = ( returnTo?: string ) => {
|
||||
sessionStorage.setItem( 'redirect', location.pathname );
|
||||
location.href = ( config.get().loginEndpoint ?? '/auth/v2/login' ) + returnTo ? returnTo : '';
|
||||
location.href = ( config.get().loginEndpoint ?? '/auth/v2/login' ) + ( returnTo ? returnTo : '' );
|
||||
};
|
||||
|
||||
export const check = async () => {
|
||||
|
||||
Reference in new issue
Block a user