Fix/remove validation for keys in datasource

This doesn't require validation, and the existing validation was probably
copied over on accident

Change-Id: Iebd6206cd35f9f3b3415b5af3c6ed6b30a1662db
This commit is contained in:
Ryan Bak 2017-01-10 16:32:06 -07:00
parent 7f08241c49
commit bfea37670d

View File

@ -37,8 +37,7 @@
<div class="gf-form-inline">
<div class="gf-form max-width-30">
<span class="gf-form-label width-7">Token</span>
<input class="gf-form-input" type="text" ng-model='ctrl.current.jsonData.token' placeholder=""
ng-pattern="/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/"></input>
<input class="gf-form-input" type="text" ng-model='ctrl.current.jsonData.token' placeholder=""></input>
<info-popover mode="right-absolute">
<span>A token is required to autenticate if Keystone auth is not set.</span>
</info-popover>