Compare commits

..

No commits in common. "7a3fb84cf6323bacc0da9e954add797a433aa529" and "e7107c33c2d8169739b7bdefb0bfb4b7eb6b6bbe" have entirely different histories.

5 changed files with 4 additions and 14 deletions

View File

@ -115,7 +115,7 @@
</VDropdown>
<div
v-else-if="allowLogin"
v-else
class="userpanel"
>
<a
@ -138,7 +138,6 @@ const pageContext = inject('pageContext');
const user = pageContext.user;
const query = ref(pageContext.urlParsed.search.q || '');
const allowLogin = pageContext.env.allowLogin;
const searchFocused = ref(false);
const activePage = computed(() => pageContext.urlParsed.pathname.split('/')[1]);
@ -247,11 +246,6 @@ async function logout() {
cursor: pointer;
}
}
&:last-child {
/* login disabled */
margin-right: 1rem;
}
}
.userpanel {

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "traxxx-web",
"version": "0.9.6",
"version": "0.9.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "0.9.6",
"version": "0.9.5",
"dependencies": {
"@brillout/json-serializer": "^0.5.8",
"@dicebear/collection": "^7.0.5",

View File

@ -70,5 +70,5 @@
"postcss-custom-media": "^10.0.2",
"postcss-nesting": "^12.0.2"
},
"version": "0.9.6"
"version": "0.9.5"
}

View File

@ -72,7 +72,6 @@
<button class="button button-submit">Log in</button>
<a
v-if="allowSignup"
href="/signup"
class="link"
>Create an account</a>
@ -88,7 +87,6 @@ import navigate from '#/src/navigate.js';
const pageContext = inject('pageContext');
const user = pageContext.user;
const allowSignup = pageContext.env.allowSignup;
const username = ref('');
const password = ref('');

View File

@ -146,8 +146,6 @@ export default async function initServer() {
primaryStash: req.user.primaryStash,
},
env: {
allowLogin: config.auth.login,
allowSignup: config.auth.signup,
maxAggregateSize: config.database.manticore.maxAggregateSize,
},
};