Answer the question
In order to leave comments, you need to log in
.htaccess how to reset access after a certain time?
Hello, there is access to files through .htaccess by login and password, respectively.
The access file contains about 500 users. After a certain time, it is necessary that the user's access is terminated, for example, 6 months.
The script can also be placed in cron. The question is what kind of script it will be, since I don’t know how specifically to interact with the list of users and their passwords, so that you can then resume access for a separate individual user.
Answer the question
In order to leave comments, you need to log in
Chito? By clicking on the button, entering the name into the search, you change the state (data or vuex) and by click or by event you load the list with your search and sorting, and again write it to the state.
And use already ES2015 :/
If for the sake of experiment, then you can insert json into the page in the script tag in window.myVar, and in vue use
let dataShow = JSON.parse(window.myVar) and then do whatever you want with this data.
BUT. "Correct", I think, will be received via api request
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question