Aufgrund einer Konfigurationsänderung wird die GitLab Registry ab 10 Uhr nur Read Only zur Verfügung stehen. / Due to a configuration change, the GitLab Registry will be available for read-only access from 10am.

Commit 63fa7c0c authored by Marcel Nellesen's avatar Marcel Nellesen

Fix: ToU Page (coscine/issues#948)

parent 4bf62ab4
{
"name": "@coscine/login",
"version": "1.6.0",
"version": "1.7.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
......@@ -8,7 +8,7 @@
<p class="card-text">{{ $t('ppBodyStart') }}<a href="https://git.rwth-aachen.de/coscine/terms/-/blob/master/PrivacyPolicy.md">Link</a>{{ $t('ppBodyEnd') }}</p>
<b-form-checkbox id="checkboxPP" v-model="checkedPP">{{ $t('ppBodyCheckBox') }}</b-form-checkbox>
<button
class="btn btn-secondary w-100"
class="btn btn-primary w-100"
name="tosppContinue"
@click.prevent="accept()"
:disabled="!checkedTOS || !checkedPP"
......@@ -40,12 +40,14 @@ export default Vue.extend({
},
methods: {
accept() {
if (this.checkedTOS && this.checkedPP) {
TOSApi.acceptCurrentTOSVersion(this.getJWT(), (response: any) => {
location.href = this.tosReturnUrl;
});
}
},
cancel() {
location.href = 'https://www.rwth-aachen.de/';
window.location.href = '/coscine/api/Coscine.Api.STS/account/logout';
},
getJWT() {
const urlParams = new URLSearchParams(window.location.search);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment