2-step authentication
Is there not 2-step authentication options in this skin?
Thank you for request. Please update and check.
Thank you Beliys. I've updated the skin and everything is find now, specially 2-step authentication.
It seems your skin is so heavy to load. I used Capri skin before too (not your github version), and it was so fast. But as I installed this version of Capri, a simple login and showing first page after that may take about 2-3 minutes (even with missing page elements).
On my server skin load very fast. I need debug for check problem.
What can I do for it ?
Do you can give me test account for directadmin and console?
Unfortunately I can't. Is there anything that I can do myself?
Do you have error in browser console? Have error in php debug mode?
How elements be missing?
For example after first login, I waited for seeing 2-step authentication section about 3 minutes. And finally it did not load. I had to refresh the page 3 or 4 times to watch it.
Do you have error in browser console?
Nothing ...
Maybe it was a connection problem at that time. I will check errors once again if I occur with this problem. Thank you for your attention.
I fix potential problem with two-step auth (can load slow after login). Please update.
Before update, I took a look at console errors in browser and these were the errors:
Failed to load resource: net::ERR_TIMED_OUT for IMG_MENU_HELP and IMG_LV_BT_ADMIN
What is the last version right now?
i think problem be in domain boxes. Where use API function before full auth (on security questions page). Directadmin not return anything for non auth user and you wait php timeout for this function. I add temporarily check for this block (|*if HAVE_TWOSTEP_AUTH!="yes"|) and be thinking how better make global fix for him.
Yes, I think so. Delay to show UI is between first login (successful) and asking 2-step authentication code.
By the way, I am not sure could I update to latest version or not. May you take a look at the attached image please
?
last version is 1.33 but you have 1.32 for check version skin use next php function
if($versions = @file_get_contents("https://raw.githubusercontent.com/Terrorhawk/Capri/master/version.txt")) {
list($ava_version, $da_version) = explode('-', $versions);
} else {
$ava_version = 'n/a';
$da_version = 'n/a';
}
you have error in
file_get_contents("https://raw.githubusercontent.com/Terrorhawk/Capri/master/version.txt")
Check php and network on you server for understanding problem.
I found somthing about the slow loading.
It only happends to me in firefox. sometimes a page loads realy slow in firefox. In Chrome i never seen this loading time. Did not test IE so dont know if it happends there
@Terrorhawk I've checked it in Chrome only and saw slow process to show 2-step authentication form.
@beliys You were right. Update problem belongs to file_get_contents("https://raw.githubusercontent.com/Terrorhawk/Capri/master/version.txt"). Unfortunatelly https://raw.githubusercontent.com seems blocked connections from some countries (Like Iran, where I am). Is there not any other option or repository?