Shang Liu
Shang Liu
> Old cmd : > > ``` > sudo cp cuda/include/cudnn.h /usr/local/cuda/include > > sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64 > > sudo chmod a+r /usr/local/cuda/include/cudnn.h /usr/local/cuda/lib64/libcudnn* > ``` > > New...
又看了一下,Windmill下的文件均为GB2312格式
> ### Reported Example 1 > **Out of regular memory error** > > #1952 by @prupireddy > > ``` > RuntimeError: [enforce fail at alloc_cpu.cpp:114] data. DefaultCPUAllocator: not enough memory:...
> thats helpful
同理: [`Cloudreve/middleware/frontend.go:30`](https://github.com/cloudreve/Cloudreve/blob/3edb00a6484cef08692245cbbd41421d76ad32e5/middleware/frontend.go#L30) `ioutil.ReadAll() -> io.ReadAll()`
完善此密码修改功能还需要: - 增加输入新密码时的前端提示 - 可能需要与ldap连接进行测试 - 修改文档
> 事实上,如果要严格对密码做校验,还有不少需要考虑的点: > > * 创建用户的时候,也应该添加校验 > * 同步用户的时候,可能也应该走这个校验,或者不走这个校验,而增加用户首次登陆必须重置密码的功能 > * 如你所言,还应该结合前端页面做配合,这块儿也是一个问题 > > 我个人其实对前端不甚精通,所以也有点为难。这里可以作为一个需求征集点,不晓得你前端咋样,如果可以,我们可以在这里详细讨论下功能设计,然后开干。或者其他有前端能力的朋友,也欢迎一起参与这个功能的建设。 OK明白你的意思,后端确实还需要有另外几个地方也需要加上校验的功能,可能还需要再琢磨一下;然后我对于前端实在一窍不通,前端部分确实不知道该如何修改了QAQ
> 这个为啥不合并进去呢?感觉非常需要这个功能 你可以看一下上面的回复hhh,我只是push了一个后端校验密码的功能,但是与之配套的前后端对应的UI/提示/测试还需要其他人来一起完成
> This is indeed a bug that I can confirm. Changing the lib/shared-functions.sh sed regex syntax in the read_variable() and read_configuration() from `"s/^$name=([\"']?)(.+)\1\$/\2/"` to `"s/^$name=['\"]?(.*)['\"]?$/\1/"` resolves this issue. It's like...
Hi, I have the same question! 😸