<html><head></head><body><div>OK, it was not that hard ...</div><div><br></div><div>In the AuthNone.pm I changed the sub Authenticate to</div><div><br></div><div>sub Authenticate</div><div> {</div><div> my ($user,$password) = @_;</div><div> if ($user eq "xxx" && $password eq "yyy") {</div><div> return '*';</div><div> } else {</div><div> return ''; </div><div> }</div><div> }</div><div><br></div><div>and activated AuthNone in the ovms_sever.conf</div><div><br></div><div><br></div><div><br></div><div>Am Donnerstag, dem 13.03.2025 um 11:34 +0100 schrieb Chris van der Meijden via OvmsDev:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>I'm trying to connect our e-UP to EVCC using the http api.</div><div><br></div><div>This fails, because I don't have a Drupal server installed. I only found AuhDrupal and AuthNone as modules for the the server.</div><div><br></div><div>I don't want to install a Drupal instance for only one user, so I'm now trying to write a AuthSimple module for only one user with the username and password included in the code (I know, unsecure), so that the authentication for that user goes through and I get the variables I need for EVCC.</div><div><br></div><div>Before I reinvent the wheel, does a code snippet perhaps exists, that does the trick?</div><div><br></div><div>Regards</div><div><br></div><div>Chris</div><div><span></span></div><div>_______________________________________________<br></div><div>OvmsDev mailing list<br></div><div><a href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a><br></div><div><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br></div></blockquote><div><br></div><div><span></span></div></body></html>