Jump to content

Borrow:P


ameen_789

Recommended Posts

Posted

Hi im kinda new and i needed some1s help my problem is:

i use a "p-login" system

Which says when i register an account unknown error accured:

and on the console it Comes Out with

:Warning p-login\script.lua:42: Access denied @ "addaccount"

:Warning p-login\script.lua:43: Bad argument @ "login"

i have also did this in the settings:

Posted

You should parse admin rights for this resource. How can you do this? Open ACL.xml file located in your 'server/mods/deathmatch' directory, find the next line:

name="Admin">

and put the next thing below:

 name="resource.p-login" />

So the final result will look like:

name="Admin">  name="Moderator" />  name="SuperModerator" />  name="Admin" />  name="RPC" />   name="resource.admin" />   name="resource.webadmin" />   name="resource.p-login" /> >

Enjoy!

Posted
just download other version of login system from community ;-)

What a useless post... if you don't know how to fix it i recommend not to post.

when i will need your advice i will ask for it,ok ?

Posted

For better security you make an ACL specifically for that resource that way the resource will only have access to what it needs (account stuff (addAccount, login)) etc rather than giving that resource full admin meaning it could have hidden code which could do some really bad things.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...