mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 08:19:15 +08:00
fix: 解决反向代理 1Panel 并启用 auth_basic 的时候无法登录的问题 (#1083)
Refs https://github.com/1Panel-dev/1Panel/issues/1082
This commit is contained in:
parent
4fca9aeb48
commit
a74cdcc061
@ -5,7 +5,7 @@ const (
|
|||||||
SessionName = "psession"
|
SessionName = "psession"
|
||||||
|
|
||||||
AuthMethodJWT = "jwt"
|
AuthMethodJWT = "jwt"
|
||||||
JWTHeaderName = "Authorization"
|
JWTHeaderName = "PanelAuthorization"
|
||||||
JWTBufferTime = 3600
|
JWTBufferTime = 3600
|
||||||
JWTIssuer = "1Panel"
|
JWTIssuer = "1Panel"
|
||||||
|
|
||||||
|
@ -9,11 +9,15 @@
|
|||||||
</template>
|
</template>
|
||||||
</Header>
|
</Header>
|
||||||
</template>
|
</template>
|
||||||
<el-descriptions border :column="1" v-if="!edit">
|
<el-row v-if="!edit">
|
||||||
|
<el-col :span="22" :offset="1">
|
||||||
|
<el-descriptions border :column="1">
|
||||||
<el-descriptions-item v-for="(param, key) in params" :label="getLabel(param)" :key="key">
|
<el-descriptions-item v-for="(param, key) in params" :label="getLabel(param)" :key="key">
|
||||||
<span>{{ param.showValue && param.showValue != '' ? param.showValue : param.value }}</span>
|
<span>{{ param.showValue && param.showValue != '' ? param.showValue : param.value }}</span>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
<el-row v-else v-loading="loading">
|
<el-row v-else v-loading="loading">
|
||||||
<el-col :span="22" :offset="1">
|
<el-col :span="22" :offset="1">
|
||||||
<el-alert :title="$t('app.updateHelper')" type="warning" :closable="false" />
|
<el-alert :title="$t('app.updateHelper')" type="warning" :closable="false" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user