Answers for "token"

0

token

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI1ZjUyNThkMC00ZDcwLTQ1ZDItODM0Ny1hYTE2Mzc2NDhhYjMiLCJpZCI6IjVmNTI1OGQwLTRkNzAtNDVkMi04MzQ3LWFhMTYzNzY0OGFiMyIsImlhdCI6MTYyNDExMjUyNSwiZXhwIjoxNjI0MTk4OTI1fQ.iiqub_1HiloGQcQHot1c12jbN_D6DKjHzWnb1kjllEA
Posted by: Guest on June-19-2021
0

token

methods: {
        loginUser() {
            var data = {
                email: this.userData.email,
                password: this.userData.password
            };
            this.app.req.post("api/auth/authenticate", data).then(res => {
                const token = res.data.token;
                sessionStorage.setItem("chatbot_token", token);
                this.$router.push("/admin");
            });
        }
    }
Posted by: Guest on September-18-2021
0

token

1.0
Posted by: Guest on June-19-2021
-1

token

2c2e3ef8-e113-45ce-89b0-ca75de1d4ee9
Posted by: Guest on May-26-2021

Browse Popular Code Answers by Language