mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
ephemeral logins
This commit is contained in:
@@ -40,6 +40,7 @@ export class LoginPage {
|
||||
await this.api.login({
|
||||
password: this.password,
|
||||
metadata: { platforms: getPlatforms() },
|
||||
ephemeral: window.location.host === 'localhost',
|
||||
})
|
||||
|
||||
this.password = ''
|
||||
|
||||
@@ -33,6 +33,7 @@ export module RR {
|
||||
export type LoginReq = {
|
||||
password: string
|
||||
metadata: SessionMetadata
|
||||
ephemeral?: boolean
|
||||
} // auth.login - unauthed
|
||||
export type loginRes = null
|
||||
|
||||
|
||||
@@ -73,8 +73,6 @@ export class ConfigService {
|
||||
const hostnameInfo =
|
||||
hosts[ui.addressInfo.hostId]?.hostnameInfo[ui.addressInfo.internalPort]
|
||||
|
||||
console.debug(hostnameInfo)
|
||||
|
||||
if (!hostnameInfo) return ''
|
||||
|
||||
const addressInfo = ui.addressInfo
|
||||
|
||||
Reference in New Issue
Block a user