mirror of
https://github.com/uparrows/LANraragi_cn.git
synced 2025-01-08 12:07:29 +08:00
update translate
This commit is contained in:
parent
8703536eff
commit
de4bdef267
@ -18,12 +18,12 @@ Lanraragi是一个开源的压缩包漫画阅读器,运行在Mojolicious和Red
|
|||||||
|
|
||||||
[⏬ 下载源码](https://github.com/uparrows/LANraragi_cn/releases/latest) |[📄 教程](http://yuanfangblog.xyz/technology/251.html) |
|
[⏬ 下载源码](https://github.com/uparrows/LANraragi_cn/releases/latest) |[📄 教程](http://yuanfangblog.xyz/technology/251.html) |
|
||||||
|
|
||||||
安卓客户端:https://f-droid.org/packages/com.utazukin.ichaival/
|
安卓客户端(已提交中文支持):https://f-droid.org/packages/com.utazukin.ichaival/
|
||||||
|
|
||||||
IOS客户端(用AltStore安装): https://github.com/Doraemoe/DuReader/releases
|
IOS客户端(用AltStore安装): https://github.com/Doraemoe/DuReader/releases
|
||||||
AltStore:https://altstore.io/
|
AltStore:https://altstore.io/
|
||||||
|
|
||||||
Windows客户端: https://www.microsoft.com/zh-cn/p/lrreader/9mz6bwwvswjh
|
Windows客户端(已提交中文支持): https://www.microsoft.com/zh-cn/p/lrreader/9mz6bwwvswjh
|
||||||
|
|
||||||
## 扫码直接查看教程
|
## 扫码直接查看教程
|
||||||
|
|
||||||
|
@ -17,14 +17,14 @@ sub check {
|
|||||||
|
|
||||||
if ( $ppr->match($pw) ) {
|
if ( $ppr->match($pw) ) {
|
||||||
|
|
||||||
$self->LRR_LOGGER->info( "尝试从 " $self->tx->remote_address "登录成功" );
|
$self->LRR_LOGGER->info( "登录成功,来自: " . $self->tx->remote_address );
|
||||||
|
|
||||||
$self->session( is_logged => 1 );
|
$self->session( is_logged => 1 );
|
||||||
$self->session( expiration => 60 * 60 * 24 );
|
$self->session( expiration => 60 * 60 * 24 );
|
||||||
$self->redirect_to('index');
|
$self->redirect_to('index');
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
$self->LRR_LOGGER->warn( "使用密码 '$pw' 尝试从 " $self->tx->remote_address "登录失败");
|
$self->LRR_LOGGER->warn( "使用密码 '$pw' 登陆失败,来自: " . $self->tx->remote_address);
|
||||||
|
|
||||||
$self->render(
|
$self->render(
|
||||||
template => "login",
|
template => "login",
|
||||||
@ -64,7 +64,7 @@ sub logged_in_api {
|
|||||||
|| $self->session('is_logged')
|
|| $self->session('is_logged')
|
||||||
|| $self->LRR_CONF->enable_pass == 0;
|
|| $self->LRR_CONF->enable_pass == 0;
|
||||||
$self->render(
|
$self->render(
|
||||||
json => { error => "This API is protected and requires login or an API Key." },
|
json => { error => "此 API 受保护,需要登录或 API 密钥." },
|
||||||
status => 401
|
status => 401
|
||||||
);
|
);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user