Files
planka/client/src/entry-actions/login.js
T
Daniel Hiller 36aa732fec feat: Remove OIDC and SSO support
Existing SSO accounts have no local password, so the migration
deactivates them before dropping is_sso_user and the
identity_provider_user table.
2026-08-07 19:15:43 +02:00

46 lines
874 B
JavaScript
Executable File

/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import EntryActionTypes from '../constants/EntryActionTypes';
const authenticate = (data) => ({
type: EntryActionTypes.AUTHENTICATE,
payload: {
data,
},
});
const clearAuthenticateError = () => ({
type: EntryActionTypes.AUTHENTICATE_ERROR_CLEAR,
payload: {},
});
const acceptTerms = (signature) => ({
type: EntryActionTypes.TERMS_ACCEPT,
payload: {
signature,
},
});
const cancelTerms = () => ({
type: EntryActionTypes.TERMS_CANCEL,
payload: {},
});
const updateTermsLanguage = (value) => ({
type: EntryActionTypes.TERMS_LANGUAGE_UPDATE,
payload: {
value,
},
});
export default {
authenticate,
clearAuthenticateError,
acceptTerms,
cancelTerms,
updateTermsLanguage,
};